{% extends "pythonems/bg_base.html" %}
{% block title %}{{ title }}{% endblock %}
{% block content %}
<!--body------start------>
<div class="crumbs neg non">>> 首页 >> 考试模块 >> 试卷管理 >> 新增试卷</div>
<div class="bg_body posi" name="body">
    <div class="space"></div>
    <div class="sub_hr"><div>手工组卷</div><div></div></div>
    <div class="space"></div>
    <div id="paper_property">
        <table class="paper_new">
            <tr><td rowspan="6" style="width:40px;"></td><td colspan="2"></td></tr>
            <tr>
                <th>试卷名称：</th>
                <th><input id="paper_name" name="paper_name" type="text"></input></th>
            </tr>
            <tr>
                <th>考试科目：</th>
                <td><select id="major_select"></select></td>
            </tr>
            <tr>
                <th>考试时间：</th>
                <th><input id="time_limit" name="paper_time" type="text"></input></th>
            </tr>
            <tr>
                <th>试卷总分：</th>
                <th><input id="score" name="paper_scroe_full" type="text"></input></th>
            </tr>
            <tr>
                <th>及格分数：</th>
                <th><input id="pass_score" name="paper_scroe_pass" type="text"></input></th>
            </tr>
        </table>

        <div class="space"></div>

        <table class="paper_new paper_new_detail">
            <tr>
                <th></th>
                <th>总题数</th>
                <th>每题分数</th>
                <th>已选</th>
                <th colspan="2"></th>
            </tr>
            <tr>
                <th>A1</th>
                <td><input id="a1_count" name="num_A1" type="text"></input></td>
                <td><input id="a1_each_score" name="score_A1" type="text"></input></td>
                <td><span  id="a1_num">0</span></td>
                <td><div id="a1_edit" class="neg paper_created">A1试题列表</div></td>
            </tr>
            <tr>
                <th>A2</th>
                <td><input id="a2_count" name="num_A2" type="text"></input></td>
                <td><input id="a2_each_score" name="score_A2" type="text"></input></td>
                <td><span  id="a2_num">0</span></td>
                <td><div id="a2_edit" class="neg paper_created">A2试题列表</div></td>
            </tr>
            <tr>
                <th>B1</th>
                <td><input id="b1_count" name="num_B1" type="text"></input></td>
                <td><input id="b1_each_score" name="score_B1" type="text"></input></td>
                <td><span id="b1_num">0</span></td>
                <td><div id="b1_edit" class="neg paper_created">B1试题列表</div></td>
            </tr>
            <tr>
                <th>A3</th>
                <td><input id="a3_count" name="num_A3" type="text"></input></td>
                <td><input id="a3_each_score" name="score_A3" type="text"></input></td>
                <td><span id="a3_num">0</span></td>
                <td><div id="a3_edit" class="neg paper_created">A3试题列表</div></td>
            </tr>
            <tr>
                <th>A4</th>
                <td><input id="a4_count" name="num_A4" type="text"></input></td>
                <td><input id="a4_each_score" name="score_A4" type="text"></input></td>
                <td><span id="a4_num">0</span></td>
                <td><div id="a4_edit" class="neg paper_created">A4试题列表</div></td>
            </tr>
            <tr>
                <th></th>
                <td colspan="5"><input id="save_paper" class="button" type="submit" value="保存"></input></td>
            </tr>
            <tr class="paper_created">
                <th></th>
                <td colspan="5">生成试卷之后，试卷内容可再更改。即使编辑试题内容，试卷内容也不会随之改变。
                    <p>*请谨慎操作！
                        <input id="create_detail" class="button" type="submit" value="生成试卷"></input>
                        <input id="paper_detail" style="display:none" 
                               class="button" type="submit" value="查看试卷"></input>
                    </p></td>
        </table>
    </div>
    <div id="paper_question_list">
    </div>
    <div class="space"></div>
</div>
<!--body------end------>
 {% endblock %}